*,
::before,
::after {
    margin: 0;
    padding: 0;
    -webkit-tap-highlight-color: transparent; /*清除点击默认高亮效果*/
    -webkit-box-sizing: border-box; 
}
a{
    text-decoration: none;
    color: #000
}
input{
    border: none;
    resize: none;
    outline: none;
    -webkit-appearance: none;
}
body{
    background-color: #f5f5f5;
}
ul{
    list-style: none;
}
.body{
    min-width: 300px;
    max-width: 640px;
    margin: 0 auto;
    position: relative;
    
}
.clearfix::before,
.clearfix::after {
    content: '.';
    display: block;
    height: 0;
    line-height: 0;
    visibility: hidden;
    clear: both;
}
/* 头 */
.jd_header{
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    height: 40px;
    background-color: #fff;
    z-index: 999;
}
.jd_header_box{
    min-width: 300px;
    max-width: 640px;
    margin: 0 auto;
    position: relative;
    background: rgba(201,21,35,0.85);
    height: 40px;
    background: rgba(201,21,35,0.85);
    height: 40px;
}
.jd_header_box .logo{
    background: url("../images/sprites.png") no-repeat 0px -103px;
    background-size: 200px 200px;
    width: 60px;
    height: 36px;
    position: absolute;
    top: 4px;
    left: 10px;
}
.jd_header form {
    width: 100%;
    height: 40px;
    padding-left: 75px;
    padding-right: 55px;
}
.jd_header form input {
    width: 100%;
    height: 30px;
    border-radius: 15px;
    margin-top: 5px;
    padding-left: 30px;
    border: none;
}
.search_img{
    background: url("../images/sprites.png") no-repeat -60px -109px;
    background-size: 200px 200px;
    width: 20px;
    height: 20px;
    display: block;
    position: absolute;
    top: 10px;
    left: 85px;
}
.jd_header_box .login{
    width: 50px;
    height: 40px;
    line-height: 40px;
    display: block;
    text-align: center;
    color: #fff;
    position: absolute;
    top: 0;
    right: 0;
    font-size: 15px;
}
/* 轮播图 */
.swiper{
    width: 100%;
}
.swiper-box {
    height: 350px;
}
.swiper-box img {
    width: 100%;
    height: 100%;
}
@media screen and (max-width: 812px) {
    .swiper-box {
        /* width: 100%; */
        height: 280px;
    }
}
/*轮播图的⚪*/
.swiper ul:last-child {
    width: 118px;
    height: 6px;
    position: absolute;
    left: 50%;
    margin-left: -59px;
    bottom: 10px;
}
.swiper ul:last-child li {
    width: 6px;
    height: 6px;
    border: 1px solid #fff;
    border-radius: 5px;
    float: left;
    margin-left: 10px;
}
.swiper ul:last-child li:first-child {
    margin-left: 0;
}
.swiper ul:last-child li.now {
    background-color: #fff;
}
/* nag导航 */
.nav{
    width: 100%;
    height: 150px;
    border-bottom: 1px solid #e0e0e0;
    padding: 0 3.125%;
    background-color: #fff;
    padding-top: 11px;
}
.nav ul{
    width: 100%;
}
.nav ul li {
    width: 25%;
    height: 69px;
    float: left;
}
.nav ul li a {
    width: 100%;
    height: 100%;
    display: block;
    text-align: center;
}
.nav ul li a img {
    width: 40px;
    height: 40px;
}
.nav ul li a p {
    font-size: 12px;
    margin-top: 2px;
    color: #666;
}
/*商品 */
.jd_product {
    margin: 0 5px;
}
.jd_product .jd_product_box {
    box-shadow:  0 0 1px 1px #e0e0e0;
    margin-top: 8px;
    background-color: #fff;
}
.jd_product .jd_product_box .product_top {
    height: 32px;
    border-bottom: 1px solid #e0e0e0;
    position: relative;
}
.jd_product .jd_product_box .product_top.no_bor {
    border-bottom: none;
}
.jd_product .jd_product_box .product_top h3 {
    font-size: 15px;
    color: #666;
    padding-left: 15px;
    font-weight: inherit;
    line-height: 32px;
}
.jd_product .jd_product_box .product_top h3::before {
    content: ' ';
    display: block;
    width: 3px;
    height: 12px;
    background: #d8505c;

    position: absolute;
    top: 10px;
    left: 8px;
}
/* 秒杀 */
.jd_secondKill .jd_secondKill_left {
    float: left;
}
.jd_secondKill .jd_secondKill_left .sk_icon {
    background: url("../images/seckill-icon.png");
    background-size: 16px 20px;
    width: 16px;
    height: 20px;
    display: block;
    float: left;
    margin-left: 8px;
    margin-top: 6px;
}
.jd_secondKill .jd_secondKill_left .sk_name {
    color: #d8505c;
    font-size: 15px;
    font-weight: inherit;
    float: left;
    margin-left: 8px;
    margin-top: 6px;
}
.jd_secondKill .jd_secondKill_left .sk_time {
    float: left;
    margin-left: 8px;
    margin-top: 9px;
}
.jd_secondKill .jd_secondKill_left .sk_time .num{
    display: block;
    width: 15px;
    height: 15px;
    text-align: center;
    background: #333;
    color: #fff;
    float: left;
    line-height: 15px;
    margin-left: 3px;
}
.jd_secondKill .jd_secondKill_left .sk_time .str{
    display: block;
    width: 5px;
    height: 15px;
    text-align: center;
    float: left;
    line-height: 15px;
    margin-left: 3px;
}
.jd_secondKill .jd_secondKill_right {
    float: right;
}
.jd_secondKill .jd_secondKill_right a {
    margin-right: 10px;
    display: block;
    height: 32px;
    line-height: 32px;
}
.jd_secondKill .product_bot {
    width: 100%;
    height: 200px;
}
.jd_secondKill .product_bot ul {
    width: 100%;
    padding: 10px 0;
}
.jd_secondKill .product_bot ul li {
    width: 33.33%;
    float: left;
}
.jd_secondKill .product_bot ul li a {
    width: 100%;
}
.jd_secondKill .product_bot ul li a .img_box{
    width: 100%;
    border-right: 1px solid #e0e0e0;
}
.jd_secondKill .product_bot ul li:last-child a .img_box{
    border-right: none;
}
.jd_secondKill .product_bot ul li a .img_box img{
    width: 64%;
    display: block;
    margin: 0 auto;
}
.jd_secondKill .product_bot ul li a .new_price{
    color: #d8505c;
    font-size: 13px;
    text-align: center;
    margin-top: 3px;
}
.jd_secondKill .product_bot ul li a .old_price{
    color: #888;
    font-size: 12px;
    text-align: center;
    text-decoration: line-through;
    margin-top: 4px;
}
.jd_pd .product_bot{
    width: 100%;
}
.jd_pd .product_bot .p_left {
    width: 50%;
    float: left;
}
.jd_pd .product_bot .p_right {
    width: 50%;
    float: right;
}
.jd_pd .product_bot .b_left {
    border-left: 1px solid #e0e0e0;
}
.jd_pd .product_bot .b_right {
    border-right: 7px solid #e0e0e0;
}
.jd_pd .product_bot .b_bottom {
    border-bottom: 1px solid #e0e0e0;
}
.jd_pd .product_bot a img {
    width: 100%;
    display: block;
}